<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>发表美食</title>
	<meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <link href="/food/Public/log/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/templatemo_style.css" rel="stylesheet" type="text/css"> 

<link href="/food/Public/mb1/css/bootstrap.css" rel="stylesheet">
<link href="/food/Public/mb1/css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Furnished Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>

<script src="/food/Public/mb1/js/jquery.min.js"> </script>
           <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  <!-- js -->
     <script src="/food/Public/mb1/js/bootstrap.js"></script>
  <!-- js -->
    <script type="text/javascript" src="/food/Public/mb1/js/move-top.js"></script>
<script type="text/javascript" src="/food/Public/mb1/js/easing.js"></script>

<script type="text/javascript">
      jQuery(document).ready(function($) {
        $(".scroll").click(function(event){   
          event.preventDefault();
          $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
        });
      });
</script>
</head>
<div class="header">
<div class="header-top">
    <div class="container">
        
      <form class="navbar-form navbar-right wow fadeInRight animated" data-wow-delay=".5s" style="visibility: visible; -webkit-animation-delay: .5s;">
        <div class="form-group">
         
          
        </div>
        
      </form> 
    </div>  
    </div>
    <div class="clearfix"> </div>
  </div>



<div class="header-nav">
  <div class="container">
    <div class="logo">
      <a href="<?php echo U('Index/index');?>"><img src="/food/Public/mb1/images/logo.png" /></a>
    </div>
    <div class="navigation">
      <nav class="navbar navbar-default">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            </button>
          </div>
          <div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
            <li class="active"><a href="<?php echo U('Index/index');?>">首页 <span class="sr-only">(current)</span></a></li>
            <!-- <li><a href="about.html">About</a></li>
            <li><a href="services.html">Services</a></li> -->
						<li><a href="<?php echo U('Meishis/meishis');?>">发表美食</a></li>
            <li><a href="<?php echo U('Meishis/fenxiang');?>">用户分享</a></li>
             <li><a href="<?php echo U('Users/userInfo');?>">个人信息</a></li>
						<li><a href="<?php echo U('Users/login');?>">登录</a></li>
						<li><a href="<?php echo U('Users/reg');?>">注册</a></li>

            </ul>
        <div class="clearfix"> </div>
      </div><!-- /.navbar-collapse -->
    </nav>
  </div>
  </div>
  </div>
  <div class="clearfix"> </div>
</div>




<body>
	<div class="index_usertop" id="gamepktop">
              <div class="col-md-3  col-xs-12 col-sm-6 col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
              <h2 style="text-align: center;">发表美食</h2>
                  <form  method="post"  class="form-horizontal" action="<?php echo U(domeishis);?>"  enctype="multipart/form-data" onsubmit="return check();" >
                      <br>
                      <input type="hidden" name="username" value="<?php echo (session('telephone')); ?>">
                      <input class="form-control" placeholder="美食名称" type="text" id="meishis_name" name="meishis_name" required>
                      <br>
                      <input class="form-control" placeholder="上传人" type="text" id="lname" name="lname"  value="<?php echo ($userinfo["aliasname"]); ?>" required>
                      <br>
              
                      <textarea class="form-control"   placeholder="简单描述" name="desc" ></textarea>
                      <br>
                      
            

                      
                      <div class="fileupload fileupload-new" data-provides="fileupload">
                      <input type="hidden" value="" name="" >
                          <div class="fileupload-new img-thumbnail"
                               style="width: 110px; height: 110px;background-color:#5f5f5f">
                              <img src="">
                          </div>
                          <div class="fileupload-preview fileupload-exists img-thumbnail"
                               style="width: 110px; max-height: 110px;">
                          </div>                  
                    <span class="btn btn-default btn-file">
                        <span class="fileupload-new">选择</span>
                        <span class="fileupload-exists">重选</span><input type="file" name="file">
                        </span>
                       
                      </div>
                      <input class="btn btn-block btn-info "  type="submit" value="发  布">

                  </form>
              </div>      
            </div>
            <div class="clearfix"> </div>
			   </div>
			</div>
        		</div>
        	</div>
        </div><br>
<!--footer-starts-->
	<div class="footer">
	<div class="footer-main">
	<div class="copy-rights">
	<p>Copyright &copy;14110100235赵明月 </p>
	</div>
	</div>
	
		</div>
<!---->
<script type="text/javascript">
		$(document).ready(function() {
				
		$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<a href="#to-top" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>
<!----> 
	</div>
	<!--footer-starts-->
</body>
</html>